package org.zxl.springbootdemo.springshell.shell;

import org.springframework.shell.standard.ShellComponent;
import org.springframework.shell.standard.ShellMethod;

/**
 * @author xiaolong5.zhang
 * @date 2022/04/04 11:53
 **/
@ShellComponent
public class HelloShell {

    @ShellMethod("/add")
    public void add(String num){
        System.out.println("helloshell hello :"+num);
    }
}
